﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="TopicReviewList.ascx.cs" Inherits="Lenovo.CFI.Web.VP.TopicReviewList" %>
<tbwc:StyleSheetControl ID="SscList" runat="server" CssPath="list.css"></tbwc:StyleSheetControl>
<tbwc:StyleSheetControl ID="SscThis" runat="server" CssPath="VP/topic/topicreviewlist.css"></tbwc:StyleSheetControl>
<ajaxToolkit:ToolkitScriptManager runat="Server" EnablePartialRendering="true" CombineScripts="false" ID="ScriptManager1" />

<script type="text/javascript">
    setInterval("__doPostBack('VP$BtnRefresh'), ''", 10000);

</script>

<asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">
    <ContentTemplate>
        <div id="relatedoperation">
            <div style="float:right" class="operation"><asp:Button ID="BtnRefresh" runat="server" 
                    SkinID="EditPrimary" Text="Refresh" ToolTip="Refresh" onclick="BtnRefresh_Click"/></div>
        </div>
        <div class="dataListArea">
            <tbwc:GridViewEx ID="GvList" runat="server" SkinID="List" DataKeyNames="ID"
                AllowPaging="false" OnRowDataBound="GvList_RowDataBound">
                <Columns>
                    <asp:TemplateField HeaderText="No.">
                        <itemstyle cssclass="listNo" />
                        <itemtemplate><asp:Literal ID="LtrNo" runat="server"></asp:Literal></itemtemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="StartTime">
                        <itemtemplate><asp:Literal ID="LtrStartTime" runat="server"></asp:Literal></itemtemplate>
                        <ItemStyle CssClass="time" />
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="Idea Name">
                        <itemtemplate><asp:Literal ID="LtrTitle" runat="server"></asp:Literal></itemtemplate>
                        <itemstyle cssclass="title" />
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="Author">
                        <itemtemplate><asp:Literal ID="LtrOwner" runat="server"></asp:Literal></itemtemplate>
                        <itemstyle cssclass="owner" />
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="Type">
                        <itemtemplate><asp:Literal ID="LtrType" runat="server"></asp:Literal></itemtemplate>
                        <itemstyle cssclass="type" />
                    </asp:TemplateField>
                </Columns>
            </tbwc:GridViewEx>
        </div>
    </ContentTemplate>
</asp:UpdatePanel>
